package com.share.commons.util;

import java.io.UnsupportedEncodingException;

public class EncodingUtil {
	
	public static String encodeURI(String str) {
		try {
			return new String(str.getBytes("ISO-8859-1"),"UTF-8") ;
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}
		return "" ;
	}
	
	public static void main(String[] args) {
		
	}

}
